Replace custom brace expansion with brace-expansion library for faster pattern matching#19824
Conversation
…r pattern matching
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
WalkthroughThis pull request replaces the custom brace expansion implementation in 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can customize the tone of the review comments and chat replies.Configure the |
|
Hey! What kind of issues were you running into that triggered this PR? Brace expansion is only used for our For example:
So I'm really curious about the issues you were running into. |
|
hi @RobinMalfait there wasn't a specific issue, just a codebase exploration for maintenance wins, but your points are well taken, so happy to close this. |



Summary
Replace custom brace expansion with brace-expansion library for faster pattern matching
Why:
{001..9}now correctly produces001, 002, …, 009instead of stripping leading zeros.Behavioral changes:
{00..05})0, 1, …00, 01, …{1.1..2.2})1.1..2.2{1.1..2.2}(braces preserved as literal)Error{0..5..0})ErrorTest plan